//表单验证
export const usernamerules = [
  { required: true, message: "请输入用户名" },
  // { pattern: /(.[^a-z0-9])/g, message: "密码需包含大写字母,小写字母,数字" },
  { min: 1, max: 5, message: "长度不得小于1位,不得多于5位" },
];

export const passwordrules = [
  { required: true, message: "密码" },
  { pattern: /(.[^a-z0-9])/g, message: "密码需包含大写字母,小写字母,数字" },
  { min: 6, max: 18, message: "长度不得小于6位,不得多于18位" },
];
